import {
	request
} from '@/utils/request.js'
// 登录方法
export function login(data) {
	return request({
		url: '/auth/mp/login',
		method: 'post',
		params:data
	})
}
//发送手机验证码
export function phoneCode(data) {
	return request({
		url: '/wx/sms/code',
		method: 'get',
		params:data
	})
}

// 获取用户详细信息
export function getInfo(data) {
	return request({
		url: '/member/user/getUserinfo',
		method: 'get',
		params:data
	})
}

// 
export function repairList(data) {
	return request({
		url: '/mp/repair/list?',
		method: 'get',
		params:data
	})
}